package com.pactera.asmp.server.service;

import com.pactera.asmp.server.entity.ResponseResult;
import com.pactera.asmp.server.entity.RoleDTO;
import com.pactera.asmp.server.pojo.Permission;
import com.pactera.asmp.server.pojo.RolePermissionKey;

import java.util.List;

public interface PermissionService {

    ResponseResult<List<Permission>> getAllPerMissionList();

    ResponseResult<List<RolePermissionKey>> getPermsByRoleId(Integer roleId);

    ResponseResult rolePermission(RoleDTO roleDTO);

    ResponseResult delete(Integer roleId);
}
